#include<stdio.h>
int main(void)
{
    float salary;
    printf("\aEnter your desired monthly salary:");
    printf("$_____\b\b\b\b\b\b");
    scanf("%f",&salary);
    printf("\t$%.2f a month is $%.2f a year.",salary,salary*12);
    printf("\rGee!\n");
    return 0;
}
/*不同的数据类型有不同的转换%格式*/